package felix.things.router.mqtt.server.broker.config.credentials;

import io.netty.channel.ChannelPipeline;
import io.netty.channel.socket.SocketChannel;

/**
 * @author Felix
 * @date 2019/7/27
 */
public interface MqttServerCredentials {
    /**
     * 执行配置
     *
     * @param channelPipeline 配置参数
     * @param socketChannel
     * @throws Exception
     */
    void configureSsl(ChannelPipeline channelPipeline, SocketChannel socketChannel) throws Exception;
}
